import os

tech_list = ["t40", "t65", "t180"]
id_list = list(range(8))
with open("run_test.log", "w") as handler:
    print("start to run the tests...", file=handler)
for id_int in id_list:
    for tech in tech_list:
        cmd = f"PDK={tech} pytest -s -vv test_demo_boes.py --ckt_id={id_int}"
        with open("run_test.log", "a") as handler:
            print(cmd, file=handler)
        os.system(cmd)
